import { ref } from 'vue'
import { defineStore } from 'pinia'

export const useChannelStore = defineStore('channel', () => {
  const channel = ref(0)

  function changeChannel(id: number) {
    channel.value = id
  }

  return { channel, changeChannel }
})
